package exsun.jt808.data.jt809_data.monitor.slave;

import exsun.jt808.data.jt809_data.BasicVehicleInfo;
import exsun.jt808.data.jt809_data.ReceiveEntityBase;

import java.util.Date;

/**
 * 车辆应急接入监管平台请求消息
 */
public class DownCtrlMsgEmergencyMonitoringReq extends ReceiveEntityBase {
    /**
     * 车辆基本信息
     */
    private BasicVehicleInfo basicVehicleInfo;
    /**
     * 监管平台下发的鉴权码
     * 用于车载 终端连接到监管平台鉴权码时使用
     */
    private String authenticationCode;

    /**
     *  拨号名称
     *  一般为服务器的 APN 无线通信号拨号访问点，若网络制 式为 CDMA，则该值为 PPP 连接 拨号号码
     */
    private String accessPointName;
    /**
     *  拨号用户名，服务器无线通信拨号 用户名。
     */
    private String userName;
    /**
     *  拨号密码，服务器无线通信拨号密 码。
     */
    private String passWord;
    /**
     *  地址，服务器 IP 地址或域名。
     */
    private String serverIp;
    /**
     *  服务器 TCP 端口
     */
    private int tcpPort;
    /**
     *  服务器 UDP 端口
     */
    private int udpPort;
    /**
     *  结束时间
     */
    private Date endTime;

    public BasicVehicleInfo getBasicVehicleInfo() {
        return basicVehicleInfo;
    }

    public void setBasicVehicleInfo(BasicVehicleInfo basicVehicleInfo) {
        this.basicVehicleInfo = basicVehicleInfo;
    }

    public String getAuthenticationCode() {
        return authenticationCode;
    }

    public void setAuthenticationCode(String authenticationCode) {
        this.authenticationCode = authenticationCode;
    }

    public String getAccessPointName() {
        return accessPointName;
    }

    public void setAccessPointName(String accessPointName) {
        this.accessPointName = accessPointName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }

    public int getTcpPort() {
        return tcpPort;
    }

    public void setTcpPort(int tcpPort) {
        this.tcpPort = tcpPort;
    }

    public int getUdpPort() {
        return udpPort;
    }

    public void setUdpPort(int udpPort) {
        this.udpPort = udpPort;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
